package slxy.jiangtao.dts.core.common.bean;

/** Created by JiangTao on 15/9/16. */
public enum ResultCode {
  success("0"),
  failure("-1"),
  expire("-2"),
  illegal("-3"),
  lostCode("-4");

  private final String code;

  ResultCode(String state) {
    this.code = state;
  }

  public String getCode() {
    return this.code;
  }

  @Override
  public String toString() {
    return this.getCode();
  }
}
